/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: max.jianhua
 * @Last Modified time: 2020-11-20 15:21:28
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// OEM返利查询
export const queryList = (params) => axios.post(`${SERVER.WHOLESALES}/ttFiRebateManage/listRecordOEM`, params)

// 导出
export const exportList = (params) => axios.post(`${SERVER.WHOLESALES}/ttFiRebateManage/exportListRecordOEM`, params, { responseType: 'blob' })

// 根据id获取返利规则
export const findById = (params) => axios.post(`${SERVER.WHOLESALES}/ttFiRebateManage/queryRebateFrostAmountList`, params)


